<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="menu" content="superviseMenu" />
<meta name="nav" content="2" />
<meta name="acc" content="0" />
<title>中间交工验收检测信息</title>
<script type="text/javascript">
	$(document).ready(function() {
		$("#prepareDate").addClass("Wate").bind("click", function() {
			WdatePicker({
				skin : 'whyGreen',
				minDate : '1900-10-01',
				dateFmt : 'yyyy-MM-dd HH:mm:ss'
			});
		});
		$("#dealDate").addClass("Wate").bind("focus", function() {
			WdatePicker({
				skin : 'whyGreen',
				minDate : '#F{$dp.$D(\'prepareDate\')}',
				dateFmt : 'yyyy-MM-dd HH:mm:ss'
			});
		});
	});

	function close() {
		$.window.closeAll();
	}
</script>
</head>
<body>
	<div id="message">
		<s:actionmessage theme="custom" cssClass="success" />
	</div>
	<form action="${ctx}/business/mdetect/issue.action" method="get"
		class="yform" id="mainForm">
		<div id="content">
			<table id="contentTable">
				<tr>
					<th>序号</th>
					<th>类型</th>
					<th>问题描述</th>
					<th>处理时间</th>
					<th>操作</th>
				</tr>
				<c:forEach items="${middleIssues }" var="middleIssue"
					varStatus="status">
					<tr class="${(status.count % 2 == 0) ? 'even' : 'odd'}">
						<td>${1+status.index}</td>
						<td><pt:code category="3011" code="${middleIssue.type }"></pt:code>
						</td>
						<td>${middleIssue.content}</td>
						<td>${middleIssue.dealDate}</td>
						<td><a id="a_submit"
							href="javascript:showWindow('编辑汇报情况','${ctx}/business/mdetect/issue!input.action?id=${middleIssue.id }&decorator=open&confirm=true');">编辑</a>
						</td>
					</tr>
				</c:forEach>
			</table>
		</div>
	</form>
</body>
</html>